<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>所有文章</title>
    <link rel="stylesheet" href="/static/frontend/lib/layui-v2.5.5/css/layui.css" media="all">
    <style>
        body {
            padding: 10px;
        }
        .center {
            display: flex;
            justify-content: center;
        }
        .new-articles .title {
            margin-top: 20px;
            margin-bottom: 10px;
        }
        .new-articles .article-item {
            margin-top: 10px;
        }

    </style>
</head>
<body>
<div class="center">
    <form method="get" class="wrap" action="/frontend/all-article/list">
        <div class="layui-input-inline">
            <select name="range" class="layui-select">
                <option value="1" {if ($Request.param.range == 1)}selected{/if} >全部</option>
                <option value="2" {if ($Request.param.range == 2)}selected{/if}>标题</option>
                <option value="3" {if ($Request.param.range == 3)}selected{/if}>内容</option>
            </select>
        </div>
        <div class="layui-input-inline">
            <input name="keyword" class="layui-input" type="text" placeholder="请输入关键词" value="{$Request.param.keyword}">
        </div>
        <button type="submit" class="layui-btn">搜索</button>
    </form>
</div>
{__CONTENT__}
</body>
</html>